﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Sale_VPlantChange.aspx.cs" Inherits="ArtLand.OA.Project.Sale.Sale_VPlantChange" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../js/jquery-1.4.1.min.js"></script>
    <script src="../js/My97DatePicker/WdatePicker.js"></script>
    <style>
        .x-form-item {
            padding: 5px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
        <ext:Panel ID="Panel1" BodyPadding="10px" runat="server" EnableBackgroundColor="false"
            EnableCollapse="True" Title="面板" Width="600px" ShowHeader="false" ShowBorder="false" AutoScroll="true">
            <Toolbars>
                <ext:Toolbar Position="Footer">
                    <Items>
                        <ext:Button Text="保存" Icon="DatabaseSave" ValidateForms="SimpleForm2" ID="btnSave" runat="server" OnClick="btnSave_Click"></ext:Button>
                        <ext:Button Text="关闭" Icon="SystemClose" ID="btnClose" runat="server"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:SimpleForm ID="SimpleForm2" EnableBackgroundColor="false" ShowBorder="false" ShowHeader="false" BodyPadding="5px" Title="表单" runat="server">
                    <Items>
                        <ext:Panel ID="Panel2" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label2" runat="server" Text="拜访客户：" Width="70px"></ext:Label>
                                <ext:TriggerBox ID="txt_CUTNAM" Required="true" Label="拜访客户" Width="156px" EnableEdit="false" Readonly="false" TriggerIcon="Search" EmptyText="选择申请人" runat="server">
                                </ext:TriggerBox>
                                <ext:HiddenField runat="server" ID="txt_CUTNUB"></ext:HiddenField>
                                <ext:Label ID="Label8" runat="server" Text="&nbsp;&nbsp;"></ext:Label>
                                <ext:Label ID="Label1" runat="server" Text="客户公司联系人："></ext:Label>
                                <ext:TextBox ID="txt_CONTAT" Label="联系人" runat="server" Width="165px" Readonly="true" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel3" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label9" runat="server" Text="客户业界地位：" Width="70px"></ext:Label>
                                <ext:TextBox ID="txt_POSITION" Required="true" Label="客户业界地位" runat="server" Width="165px" />
                                <ext:Label ID="Label16" runat="server" Text="&nbsp;&nbsp;&nbsp;"></ext:Label>
                                <ext:Label ID="Label10" runat="server" Text="状态：" Width="65px"></ext:Label>
                                <ext:DropDownList runat="server" ID="Drp_STATUS"></ext:DropDownList>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel11" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label15" runat="server" Text="拜访人员：" Width="70px"></ext:Label>
                                <ext:TriggerBox ID="txt_VIPERSON" EnableEdit="false" Readonly="false" TriggerIcon="Search" EmptyText="选择拜访人员" runat="server" Required="true" ShowRedStar="true" Label="项目联系人" Width="145px">
                                </ext:TriggerBox>
                                <ext:HiddenField runat="server" ID="hid_VIPERSON"></ext:HiddenField>
                                <ext:Label ID="Label14" runat="server" Text="&nbsp;&nbsp;&nbsp;"></ext:Label>
                                <ext:Label ID="Label18" runat="server" Text="拜访类型：" Width="65px"></ext:Label>
                                <ext:DropDownList runat="server" ID="Drp_VITYPE"></ext:DropDownList>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel4" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label11" runat="server" Text="到达时间：" Width="70px"></ext:Label>
                                <ext:TextBox ID="txt_STIME" Label="到达时间" runat="server" Width="165px" />
                                <ext:Label ID="Label12" runat="server" Text="&nbsp;&nbsp;&nbsp;"></ext:Label>
                                <ext:Label ID="Label13" runat="server" Text="离开时间：" Width="65px"></ext:Label>
                                <ext:TextBox ID="txt_ETIME" Label="离开时间" runat="server" Width="165px" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel5" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label6" runat="server" Text="客户联系人电话：" Width="65px" EncodeText="false"></ext:Label>
                                <ext:TextBox ID="txt_TELNUB" Label="客户联系人电话" runat="server" Width="420px" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel12" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label7" runat="server" Text="拜访地址：" Width="65px" EncodeText="false"></ext:Label>
                                <ext:TextBox ID="txt_ADDRES" Label="拜访地址" runat="server" Width="420px" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel6" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label4" runat="server" Text="拜访目的：" Width="65px"></ext:Label>
                                <ext:TextArea Label="拜访目的" runat="server" ID="txt_OBJECTIVE" Height="150px" Width="400px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel7" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label3" runat="server" Text="客户公司概况：" Width="65px"></ext:Label>
                                <ext:TextArea Label="客户公司概况" runat="server" ID="txt_SURVRY" Height="150px" Width="400px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel13" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label17" runat="server" Text="拜访详情：" Width="65px"></ext:Label>
                                <ext:TextArea Label="拜访详情" runat="server" ID="txt_VCONTEBT" Height="150px" Width="400px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel8" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label5" runat="server" Text="备注说明：" Width="65px"></ext:Label>
                                <ext:TextArea Label="备注说明" runat="server" ID="txt_REMARK" Height="150px" Width="400px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                    </Items>
                </ext:SimpleForm>
            </Items>
        </ext:Panel>
        <ext:HiddenField ID="hf" runat="server"></ext:HiddenField>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="650px" Height="400px">
        </ext:Window>

    </form>
    <script src="/js/ShowD.js"></script>
    <script>
        var STDATE = "<%=txt_STIME.ClientID%>";
        var EDDATE = "<%=txt_ETIME.ClientID%>";
        function onReady() {
            ShowD(STDATE);
            ShowD(EDDATE);
        }

    </script>
</body>
</html>

